This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Aug 1, 2017, 8:22 PM
1 Posts

"Location Changing Exception" with XPiNC view link in FP8

  • Category: Other
  • Platform: Windows
  • Release: 9.0.1
  • Role: Developer
  • Tags:
  • Replies: 1

Starting with 9.0.1 FP8, I've been having the following problem with XPiNC:

  1. Open an XPage in the Notes client that has links to other XPages (a view control with links to documents in the view, for example).
  2. Click a link to open another XPage in a new tab.
  3. If the XPage in the new tab has links to other XPages (via view control, etc.), the links on page 2 don't work. You click and nothing happens.

In the trace log I get this error when I click the link:

SEVERE Location changing exception ::class.method=com.ibm.rcp.dombrowser.browser.MozillaEmbeddingSite.OnStartURIOpen() ::thread=main ::loggername=com.ibm.rcp.dombrowser.browser

java.lang.NullPointerException
    at com.ibm.xsp.rcp.util.NotesUrl.parse(Unknown Source)
    at com.ibm.xsp.rcp.util.NotesUrl.isUrlEqual(Unknown Source)
    at com.ibm.xsp.rcp.util.RcpUtil.isSameNotesUrl(Unknown Source)
    at com.ibm.xsp.rcp.xphandler.PerspectiveManager.getViewByUrl(Unknown Source)
    at com.ibm.xsp.rcp.xphandler.OpenXPHandler.createXPagesView(Unknown Source)
    at com.ibm.xsp.rcp.xphandler.OpenXPHandler.showXPageBrowser(Unknown Source)
    at com.ibm.xsp.rcp.XspBrowserWrapper$11.changing(Unknown Source)
    at com.ibm.rcp.dombrowser.browser.MozillaEmbeddingSite.OnStartURIOpen(Unknown Source)
    at com.ibm.rcp.dombrowser.browser.MozillaEmbeddingSite$11.method3(Unknown Source)
    at com.ibm.rcp.dombrowser.internal.mozilla.XPCOMObject.callback3(Unknown Source)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageWWrapped(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageWWithCatch(Unknown Source)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(Unknown Source)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source)
    at org.eclipse.ui.internal.Workbench.runUI(Unknown Source)
    at org.eclipse.ui.internal.Workbench.access$4(Unknown Source)
    at org.eclipse.ui.internal.Workbench$5.run(Unknown Source)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Unknown Source)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source)
    at com.ibm.rcp.personality.framework.internal.RCPApplication.run(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(Unknown Source)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown Source)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Unknown Source)
    at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)
    at org.eclipse.equinox.launcher.Main.run(Unknown Source)
    at com.ibm.rcp.core.internal.launcher.Main.startLaunch(Unknown Source)
    at com.ibm.rcp.core.internal.launcher.Main.main(Unknown Source)
    at com.ibm.rcp.core.internal.launcher.Main.run(Unknown Source)

 

Everything works fine on 9.0.1 FP6 (I don't have an FP7 client handy but I'm pretty sure everything worked fine there), but FP8 is giving me problems. Also FP8 IF1.

The error is easy enough to reproduce if you create a database with a few blank documents, and have the form open an XPage that contains a view control with links to open the other documents in new tabs. When you open the first document/XPage the links work fine, but if you open a second XPage from the first one the links won't work.

Help please.  :)

Sep 4, 2017, 1:51 PM
586 Posts
hmmm

I've not looks at XPiNC in forever.

I suggest you post this on StackOverFlow first.  There will be more eyes on it there.  Then if you have not already I suggest you join the XPages Slack chat and post a link to the SO question in there.  That will get you maximum visibility at least.

You, or anyone reading this post, can auto join the XPages Slack Chat here : https://xpages-slack.herokuapp.com/

 

 


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal